# 找出体温高于38的工号
temperature_dict = {"111": 36.5, "112": 36.6, "113": 38}
# temperature_dict.keys() 所有键
# temperature_dict.values() 所有值
# temperature_dict.items() 所有键值对
for staff_id, temperature in temperature_dict.items():
    # 将字典里的元素以元组的形式存储到两个变量中
    # 相当于
    # for temperature_tuple in temperature_dict.items():
    #     staff_id = temperature_tuple[0]
    #     temperature = temperature_tuple[1]
    if temperature >= 38:
        print(staff_id)
for i in range(5, 10):
    print(i)  # 打印5到9
for num in range(2, 10, 2):
    print(num)  # 打印2到8的偶数/不取10
total = 0
for i in range(1, 101):
    total += i
print(total)
